package com.guoxin.jiyin.enums;

public enum ApiCode implements ICommonEnum {
    SUCCESS(1, "操作成功"),
    REQUEST_ERROR(1000,"系统请求失败"),
    BLOCK_CHAIN_ERROR(8000,"上链失败");


    private int value;

    private String name;

    ApiCode(int value, String name) {
        this.value = value;
        this.name = name;
    }


    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
